package com.txts.road.admin.dabenying.domain;

import com.txts.road.admin.common.annotation.Excel;
import com.txts.road.admin.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 大本营信息对象 basecamp_info
 *
 * @author ruoyi
 * @date 2025-05-16
 */
public class BasecampInfo extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 大本营名称
     */
    @Excel(name = "大本营名称")
    private String name;

    /**
     * 大本营图片
     */
    @Excel(name = "大本营图片")
    private String photo;

    /**
     * 大本营位置
     */
    @Excel(name = "大本营位置")
    private String weizhi;

    /**
     * 大本营地址
     */
    @Excel(name = "大本营地址")
    private String dizhi;

    private String oldName;

    public String getOldName() {
        return oldName;
    }      // ← 新增

    public void setOldName(String oldName) {             // ← 新增
        this.oldName = oldName;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setPhoto(String photo) {
        this.photo = photo;
    }

    public String getPhoto() {
        return photo;
    }

    public void setWeizhi(String weizhi) {
        this.weizhi = weizhi;
    }

    public String getWeizhi() {
        return weizhi;
    }

    public void setDizhi(String dizhi) {
        this.dizhi = dizhi;
    }

    public String getDizhi() {
        return dizhi;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("name", getName())
                .append("photo", getPhoto())
                .append("weizhi", getWeizhi())
                .append("dizhi", getDizhi())
                .toString();
    }
}
